package com.yizhuoyan.his.webapi.controller.doctor.outpatient.vo;

import com.yizhuoyan.his.entity.DocPrescriptionDetailEntity;
import com.yizhuoyan.his.entity.DocPrescriptionEntity;
import com.yizhuoyan.his.entity.HosDrugsEntity;
import lombok.Data;

/**
 * 中成药处方
 * @author 徐世杰
 */
@Data
public class DocPrescriptionVo {
    //处方名称
    private String name;

    //中成药详情
    private DocPrescriptionDetailVo detailVo;

    //药品
    private HosDrugsVo drugsVo;


    public DocPrescriptionVo of(DocPrescriptionEntity entity){
        DocPrescriptionVo vo=new DocPrescriptionVo();
        vo.setName(entity.getName());
        return vo;
    }
}
